<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"><head><title>INOCOM - Identificación</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="shortcut icon" type="images/x-icon" href="pics/favicon.ico" />
<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" />
  <script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
        <script type="text/javascript">var opacity = true;</script>
<!--[if lte IE 6]>
<link rel='stylesheet' href='/css/styles_ie.css' type='text/css' media='screen' >
<![endif]-->
                
        <script type="text/javascript">
            
            function iniciarSesion(){
              
          
	var usuario = $("#txtUsuario").val();
	var contra = $("#txtContrasena").val();

	$.ajax({
		   type: "POST",
		   url: "controlador/controladorGeneral.php",
		   data: "tipo=Usuario&operacion=verificarUsuario&usuario=" + usuario + "&contra=" + contra ,
		   success: function(data){
                       alert(data);
		         top.location.href = "verificarLogin.php";
		   }
	})			
}
        
    </script>
    </head>
    <body>
        <div id='contenulogin'>
  <div id='logo-login'></div>
  <div id='boxlogin'>
           
                <fieldset>
                    <legend>Identificación</legend>
                    <div class="row">
                        <span class="label"><label>Usuario :  </label></span>
                        <span class="formw"><input type="text" name="txtUsuario" id="txtUsuario" size="15" /></span>
                    </div>
                    <div class="row">
                        <span class="label"><label>Contraseña : </label></span>
                        <span class="formw">
                            <input type="password" name="txtContrasena" id="txtContrasena" size="15" />
                        </span>
                    </div>
                </fieldset>
      <p><span><a onclick="iniciarSesion()">ENVIAR</a></span></p>
           
<div class='error'>
    <noscript><p>Debe activar Javascript en su navegador</p></noscript></div>
  </div>
        <div id='footer-login'>
                INOCOM version  0.01.01 Copyright (C) 2011-2012 Zodiac Consulting Team.
        </div><div style="background-image: url('/glpi/front/cron.php');"></div></body></html>